package com.zm.zmgz.pojo;

import java.util.Date;

public class LogBean {
    private Integer id;

    private String username;

    private String operationtype;

    private String tablename;

    private Date operationtime;

    private String ip;

    private String sql2;

    private String timeconsuming;

    private String description;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getOperationtype() {
        return operationtype;
    }

    public void setOperationtype(String operationtype) {
        this.operationtype = operationtype == null ? null : operationtype.trim();
    }

    public String getTablename() {
        return tablename;
    }

    public void setTablename(String tablename) {
        this.tablename = tablename == null ? null : tablename.trim();
    }

    public Date getOperationtime() {
        return operationtime;
    }

    public void setOperationtime(Date operationtime) {
        this.operationtime = operationtime;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip == null ? null : ip.trim();
    }

    public String getSql2() {
        return sql2;
    }

    public void setSql2(String sql2) {
        this.sql2 = sql2 == null ? null : sql2.trim();
    }

    public String getTimeconsuming() {
        return timeconsuming;
    }

    public void setTimeconsuming(String timeconsuming) {
        this.timeconsuming = timeconsuming == null ? null : timeconsuming.trim();
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    @Override
    public String toString() {
        return "LogBean{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", operationtype='" + operationtype + '\'' +
                ", tablename='" + tablename + '\'' +
                ", operationtime=" + operationtime +
                ", ip='" + ip + '\'' +
                ", sql2='" + sql2 + '\'' +
                ", timeconsuming='" + timeconsuming + '\'' +
                ", description='" + description + '\'' +
                '}';
    }
}